<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<!--    <span th:text="| hello,${user.usrName}|">usrName</span>-->
    <!-- 内联变量表达式 -->
<!--<span th:inline="text">Hello, [[${user.usrName}]] !</span>-->
欢迎您：<span th:text="${#request.getAttribute('user').usrName}"></span>

<a href="details.html"
   th:href="@{http://localhost:8080/sys/users}">view</a>

<script th:inline="javascript">
    var msg = 'Hello '+[[${user.usrName}]]+'！ ';
    //alert(msg);
</script>
</body>
</html>